<?php
/**
 * Created by PhpStorm.
 * User: 伟鑫
 * Date: 2019/3/12
 * Time: 14:25
 */

namespace app\admin\model;


use think\Model;

class AreaModel extends Model
{
    protected $name = 'area';

    public function getNameById($id){
        return $this->where('id',$id)->find();
    }

}